<?php if ($command == "done"): ?>
<?php else: ?>
    <div id="header-<?php echo $sf_user->hasAnAppointment() ? "sign-up" : "choose-a-profile-photo" ?>">
        <?php if ($sf_user->hasAnAppointment()): ?>
            <?php include_partial("appointment/progress_bar", array("isSignIn" => false)) ?>
        <?php else: ?>
            <?php include_partial("progress_bar", array("step" => "three")) ?>
        <?php endif; ?>
        <form id="step-three-form" action="<?php echo url_for('@member_register_step_three?command=stay') ?>" method="post">
            <?php echo $form->renderHiddenFields(false) ?>
            <div class="imperative">Please choose a profile photo</div>
            <?php include_partial("profile_photo", array("user" => new GfUser(), "galleryItem" => $galleryItem)) ?>
            <div class="row">
                <ul>
                    <li>
                        <button id="submit-step-three" type="submit" class="blue-button-30">Submit</button>
                    </li>
                </ul>
            </div>
        </form>
    </div>
<?php endif; ?>